package com.fmistuff.threadedcalc.ui;

public class Log implements ILoggable{
	
	public StringBuffer stringBuffer = new StringBuffer();
	@Override
	public void log(String message) {
		stringBuffer.append("\n" + message);
	}
	@Override
	public String getText() {
		return stringBuffer.toString();
	}
	@Override
	public void clear() {
		stringBuffer = new StringBuffer();
	}
	
}
